package com.hershel.userservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hershel.userservice.entity.User;
import com.hershel.userservice.entity.UserDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<UserDetails> {
    @Select("select * from user_info")
    public List<User> queryAll();

}
